/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interprete;

/**
 *
 * @author lynx
 */
class PilaFunciones {
    
    private PilaGenerica pila;

    PilaFunciones(){
        pila = new PilaGenerica();
    }
    
    void mete(Token t){
        pila.Push(t);
    }
    
    Token saca(){
        return (Token) pila.Pop();
    }
    
    Token ver(){
        return (Token) pila.Top();
    }
    
}
